package com.lz.springboot.apollo.mongo.dao;

import javax.annotation.Resource;

import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Repository;

import com.lz.springboot.apollo.entity.CardOpenDoorLog;
import com.lz.springboot.mongo.common.MongoConstants;
import com.lz.springboot.mongo.dao.BaseMongoDao;

@Repository
public class CardOpenDoorLogDao extends BaseMongoDao<CardOpenDoorLog>{  
  
    
    @Resource(name= MongoConstants.FIRST_MONGO_TEMPLATE)
    public void setMongoTemplate(MongoTemplate mongoTemplate) {
        this.mongoTemplate = mongoTemplate;
    }
}  